<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>QJson: yy::json_parser Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QJson
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>yy</b>      </li>
      <li class="navelem"><a class="el" href="classyy_1_1json__parser.html">json_parser</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">yy::json_parser Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A Bison parser.  
 <a href="classyy_1_1json__parser.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="json__parser_8hh_source.html">json_parser.hh</a>&gt;</code></p>

<p><a href="classyy_1_1json__parser-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyy_1_1json__parser_1_1token.html">token</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tokens.  <a href="structyy_1_1json__parser_1_1token.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab20a99acf21f02dc089e1940ca3ea8d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab20a99acf21f02dc089e1940ca3ea8d2"></a>
typedef YYSTYPE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#ab20a99acf21f02dc089e1940ca3ea8d2">semantic_type</a></td></tr>
<tr class="memdesc:ab20a99acf21f02dc089e1940ca3ea8d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Symbol semantic values. <br/></td></tr>
<tr class="memitem:aa36345e006a06fa1d1c391be22eaf796"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa36345e006a06fa1d1c391be22eaf796"></a>
typedef <a class="el" href="classyy_1_1location.html">location</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#aa36345e006a06fa1d1c391be22eaf796">location_type</a></td></tr>
<tr class="memdesc:aa36345e006a06fa1d1c391be22eaf796"><td class="mdescLeft">&#160;</td><td class="mdescRight">Symbol locations. <br/></td></tr>
<tr class="memitem:a53221433417a37f19a7771feb0e129f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53221433417a37f19a7771feb0e129f8"></a>
typedef token::yytokentype&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a53221433417a37f19a7771feb0e129f8">token_type</a></td></tr>
<tr class="memdesc:a53221433417a37f19a7771feb0e129f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Token type. <br/></td></tr>
<tr class="memitem:a940866ce46d75fa819d9e7a79a9debf7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a940866ce46d75fa819d9e7a79a9debf7"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a940866ce46d75fa819d9e7a79a9debf7">debug_level_type</a></td></tr>
<tr class="memdesc:a940866ce46d75fa819d9e7a79a9debf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type for debugging levels. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9e0836f04da8225bae1cd6b95e989926"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e0836f04da8225bae1cd6b95e989926"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a9e0836f04da8225bae1cd6b95e989926">json_parser</a> (<a class="el" href="class_q_json_private.html">QJsonPrivate</a> *driver_yyarg)</td></tr>
<tr class="memdesc:a9e0836f04da8225bae1cd6b95e989926"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a parser object. <br/></td></tr>
<tr class="memitem:a25304d81b089b2221d1efbfad029ad58"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a25304d81b089b2221d1efbfad029ad58">parse</a> ()</td></tr>
<tr class="memitem:adc96f66654302cdf5756ff85a5463775"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc96f66654302cdf5756ff85a5463775"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#adc96f66654302cdf5756ff85a5463775">debug_stream</a> () const </td></tr>
<tr class="memdesc:adc96f66654302cdf5756ff85a5463775"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current debugging stream. <br/></td></tr>
<tr class="memitem:afba81106716d70a89254e520a4e765d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afba81106716d70a89254e520a4e765d3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#afba81106716d70a89254e520a4e765d3">set_debug_stream</a> (std::ostream &amp;)</td></tr>
<tr class="memdesc:afba81106716d70a89254e520a4e765d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current debugging stream. <br/></td></tr>
<tr class="memitem:a4eeb0bb3926156790ba064d050fcbd07"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4eeb0bb3926156790ba064d050fcbd07"></a>
<a class="el" href="classyy_1_1json__parser.html#a940866ce46d75fa819d9e7a79a9debf7">debug_level_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a4eeb0bb3926156790ba064d050fcbd07">debug_level</a> () const </td></tr>
<tr class="memdesc:a4eeb0bb3926156790ba064d050fcbd07"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current debugging level. <br/></td></tr>
<tr class="memitem:a94f8ee2a345c3f7ab1f5e89ec80df8c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94f8ee2a345c3f7ab1f5e89ec80df8c1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyy_1_1json__parser.html#a94f8ee2a345c3f7ab1f5e89ec80df8c1">set_debug_level</a> (<a class="el" href="classyy_1_1json__parser.html#a940866ce46d75fa819d9e7a79a9debf7">debug_level_type</a> l)</td></tr>
<tr class="memdesc:a94f8ee2a345c3f7ab1f5e89ec80df8c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current debugging level. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A Bison parser. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a25304d81b089b2221d1efbfad029ad58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classyy_1_1json__parser.html#a25304d81b089b2221d1efbfad029ad58">yy::json_parser::parse</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parse. </p>
<dl class="section return"><dt>Returns:</dt><dd>0 iff parsing succeeded. </dd></dl>
<p>Look-ahead and look-ahead in internal form.</p>
<p>Semantic value of the look-ahead.</p>
<p>Location of the look-ahead.</p>
<p>The locations where the error started and ended.</p>
<p>$$.</p>
<p>$. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="json__parser_8hh_source.html">json_parser.hh</a></li>
<li>json_parser.cc</li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Mon Apr 9 2012 23:57:47 for QJson by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
